Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NCompositeTool Class / GetTool Method / GetTool<TTool>() Method


In This Topic
    GetTool<TTool>() Method
    In This Topic
    Gets the first child tool of the specified type.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetTool(Of TTool As NTool)() As TTool
    'Usage
     
    
    Dim instance As NCompositeTool
    Dim value As TTool
     
    value = instance.GetTool(Of TTool)()
    public TTool GetTool<TTool>()
    where TTool: NTool

    Type Parameters

    TTool
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also